//
//  BaseAnimation.h
//  VCTransitions
//
//  Created by Tyler Tillage on 8/20/13.
//  Copyright (c) 2013 CapTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef enum {
    AnimationTypePresent,
    AnimationTypeDismiss
} AnimationType;

@protocol VCTransitionsDelegate <NSObject>

@optional
- (void)vcTransitions_AnimationPresent_Begin:(UIViewController*)presentVC;
- (void)vcTransitions_AnimationPresent_End:(UIViewController*)presentVC;
- (void)vcTransitions_AnimationDismiss_Begin:(UIViewController*)dismissVC;
- (void)vcTransitions_AnimationDismiss_End:(UIViewController*)dismissVC;

@end

@interface BaseAnimation : NSObject <UIViewControllerAnimatedTransitioning>

@property (nonatomic, assign) AnimationType type;
@property (nonatomic, weak) id<VCTransitionsDelegate> delegate;

@end
